//
//  HomeModel.m
//  inrtest
//
//  Created by 宋辉 on 2017/4/21.
//  Copyright © 2017年 . All rights reserved.
//

#import "HomeModel.h"

@implementation HomeModel
- (void)setValue:(id)value forUndefinedKey:( NSString *)key
{
    
}

// 对应赋值
-(void)setValue:(id)value forKey:(NSString *)key{
    if ([key isEqualToString:@"description"]) {
        
        self.DN = value;
        
    }else if ([key isEqualToString:@"id"]){
        self.D_id = value;
    }
    else{
        [super setValue:value forKey:key];
    }
}

-(NSMutableDictionary *)dict{
    if (!_dict) {
        _dict = [NSMutableDictionary dictionary];
    }
    return _dict;
}

@end
